import request from '@/utils/request'
const module = '/admin/product/category'
export const getCategoriesByPid=(pid)=>{
    return request({
        url: `${module}/listByPid/${pid}`,
        method: 'get'
    }        
    )
}

export const exportCates=()=>{
    return request({
        url: `${module}/export`,
        method: 'get',
        responseType:'blob'
    })
}